package com.aat.restful.springresteasy;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.util.Assert;

import com.aat.restful.springresteasy.app.NettyServer;


public class App {
	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("com/aat/restful/springresteasy/spring.xml");
		Assert.notNull(ac);
		NettyServer netty = ac.getBean(NettyServer.class);
		netty.start();
	}
}
